package com.ruoyi.laiwu.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 告警扩展业务对象 lw_alarm_extend
 *
 * @author ruoyi
 * @date 2024-03-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class LwAlarmExtendBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 子ID
     */
    @NotNull(message = "子ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long subId;



    /**
     * 设备编码
     */
    @NotBlank(message = "设备编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String device_code;


}
